import Vue from 'vue'
import Router from 'vue-router'
import Hearder from '@/components/Hearder'
import Home from '@/components/Home'
//课程管理
import CourseFree from '@/components/Course/CourseFree'
import CourseSystem from '@/components/Course/CourseSystem'
import CourseDetail from '@/components/Course/CourseDetail'
//在线测评
import OnlineEvaluation from '@/components/Quest/OnlineEvaluation'
import QnlineEvaluationadd from '@/components/Quest/QnlineEvaluationadd'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/Hearder',
      name: 'Hearder',
      component: Hearder
    },
    {
      path: '/CourseFree',
      name: 'CourseFree',
      component: CourseFree
    },
    {
      path: '/CourseSystem',
      name: 'CourseSystem',
      component: CourseSystem
    },
    {
      path: '/CourseDetail',
      name: 'CourseDetail',
      component: CourseDetail
    },
    {
      path: '/OnlineEvaluation',
      name: 'OnlineEvaluation',
      component: OnlineEvaluation
    },
    {
      path: '/QnlineEvaluationadd',
      name: 'QnlineEvaluationadd',
      component: QnlineEvaluationadd
    },
  ]
})
